package com.sunny.mongodb.test;

import com.sunny.dao.mongo.download.ImageDownload2;
import com.sunny.dao.mongo.download.ImageDownload3;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by Sunny on 2016/4/27.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:/spring-modules.xml"})
public class FileTest2 {


    @Autowired
    ImageDownload2 imageDownload2;

    @Autowired
    ImageDownload3 imageDownload3;


    @Test
    public void testQuery(){
        imageDownload3.downloadEntry();





    }



}
